﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.WebNemo.Business.Exceptions {
    public class CreateRecordException : NemoException {

        public CreateRecordException()
            : base(1000, null) { }

        public CreateRecordException(int exceptionId) : this(exceptionId, null) { }

        public CreateRecordException(Exception innerException) : this(0, innerException) { }

        public CreateRecordException(int exceptionId, Exception innerException)
            : base((exceptionId >= 1000 && exceptionId < 2000) ? exceptionId : 1000, null) { }

    }
}
